package com.lipaluma.io;


/**
 * Interface for writing to the output file
 * @author mario.soares
 */
public interface SourceWriter {
	/**
	 * create a new line in the output file
	 * @return the line created
	 */
	Row createNewRow();
	/**
	 * return the current row : the number of rows created
	 * @return the curent row number
	 */
	int getCurrentNumber();
	/**
	 * close and flush the file
	 */
	void close();

	Row duplicateRow(Row row);
}
